package com.chalk.vo;

import com.chalk.model.SysPermission;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @date: 2019-03-30 下午 02:22
 * @author: zhaobo0119@outlook.com
 * @Descriptopn:
 */
public class MenuTree extends SysPermission {

    /*-----------------------------------查询条件--------------------------------------*/
    @ApiModelProperty(name = "userId", value = "用户ID")
    private String userId;

    @ApiModelProperty(name = "roleId", value = "角色ID")
    private String roleId;

    @ApiModelProperty(name = "roleIds", value = "角色ID集合")
    private List<String> roleIds;

    @ApiModelProperty(name = "childCount", value = "子节点数")
    private int childCount;

    @ApiModelProperty(name = "ChildList", value = "子节点集合")
    private List<MenuTree> ChildList;

    @ApiModelProperty(name = "checked", value = "是否选中")
    private boolean checked;

    /**
     * 是否最强
     */
    private Integer bigger;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public List<String> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<String> roleIds) {
        this.roleIds = roleIds;
    }

    public int getChildCount() {
        return childCount;
    }

    public void setChildCount(int childCount) {
        this.childCount = childCount;
    }

    public List<MenuTree> getChildList() {
        return ChildList;
    }

    public void setChildList(List<MenuTree> childList) {
        ChildList = childList;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Integer getBigger() {
        return bigger;
    }

    public void setBigger(Integer bigger) {
        this.bigger = bigger;
    }
}
